package com.xiang.springboot.demo.spi.service.impl;

import com.xiang.springboot.demo.spi.entity.Cat;
import com.xiang.springboot.demo.spi.service.ICat;
import org.springframework.stereotype.Service;

@Service
public class CatImpl implements ICat<Cat> {
    @Override
    public void sleep() {
        System.out.println(" cat sleep ....");
    }

    @Override
    public Class<Cat> businessFor() {
        return Cat.class;
    }
}
